/*
********************************************************************************
* Copyright (C) 2021, xiang.D <dx_65535@163.com>.
* All right reserved.
*
* File Name   : main.cc
* Author      :
* Version     : V1.0
* Description :
* Journal     : 2021-01-23 init v1.0
* Brief       : Blog: https://blog.csdn.net/qq_38750572?spm=1001.2014.3001.5343
* Others      :
********************************************************************************
*/
#include <memory>
#include "see_doctor.h"

using namespace std;

#define MAIN_LOGE(fmt, args...) printf("%d Main E: " fmt, __LINE__, ##args)
#define MAIN_LOG(fmt, args...) printf(fmt, ##args)

int main(int argc, char *argv[])
{
    shared_ptr<CSeeDoctorTemplate> p1(new CTreatStomach);
    p1->StartProcess();

    MAIN_LOG("\n\n");

    shared_ptr<CSeeDoctorTemplate> p2(new CTreatHeadache);
    p2->StartProcess();

    return 0;
}